package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzhc.entity.SysRole;
import com.hzhc.vo.SysRoleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 岗位角色 Mapper 接口
 * </p>
 *
 * @author duanhm
 * @since 2019-07-26
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    IPage<SysRoleVo> selectRolePage(Page<SysRoleVo> page, @Param("vo") SysRoleVo vo);

    boolean deleteRole(@Param("vo") SysRole role);
}
